﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace MassIntellect.WorkIt
{
    public interface IXmlVerificator
    {
        IServiceLocatorDepend Owner { get; set; }

        /// <summary>
        /// Верификация Xml
        /// </summary>
        /// <param name="xe">Xml элемент</param>
        /// <param name="remarks">Замечания верификатора.</param>
        /// <returns></returns>
        bool Verify(XElement xe, out IEnumerable<string> remarks);
    }
}
